<?php
namespace catchAdmin\registration\request;

use catcher\base\CatchRequest;

class MobileResultRequest extends CatchRequest
{
    protected function rules(): array
    {
        // TODO: Implement rules() method.
        return [
            'task_id|随访计划id'             => 'require',
            'follow_id|随访id'               => 'require',
            'callingNumber|主叫号码'         => 'require',
            'contactNumber|联系电话'         => 'require',
            'contactName|联系人'             => 'require',
            //'relation|关系'                  => 'require',
            //'relationName|关系名称'          => 'require',
            //'result|结果'                    => 'require',
            //'resultCategory|结果类型'        => 'require',
            //'resultName|结果名称'            => 'require',
            //'is_effective|是否有效随访'      => 'require',
            'type|随访类型'                  => 'require',
            //'duration|通话时长'              => 'require',
        ];
    }

    protected function message(): array
    {
        return [];
    }
}